package com.breeze.components.web.warm.health;

import org.springframework.boot.actuate.health.Health;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.boot.actuate.health.Status;
import org.springframework.stereotype.Component;

/**
 * @author breeze
 */
@Component
public class AppHealth implements HealthIndicator {

  public static Status status = Status.UNKNOWN;

  @Override
  public Health health() {
    return new Health.Builder(status).build();
  }
}
